/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.common.service.base.manage;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(ManageFormBase)</b>
 * 后台查询条件基础类
 *
 * @author czj
 * @version 1.0.0
 * @since 2022/8/2
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PROTECTED)
@Accessors(chain = true)
public class ManageFormBase extends ManageBaseInfo {
    @ApiModelProperty(value = "token", position = 89)
    String  token;
    @ApiModelProperty(value = "总页数", position = 90)
    @Builder.Default
    Integer pageNum   = 1;
    @ApiModelProperty(value = "每页数据条数量", position = 91)
    @Builder.Default
    Integer pageSize  = 20;
    @ApiModelProperty(value = "排序字段", position = 92)
    @Builder.Default
    String  orderName = "create_time";
    @ApiModelProperty(value = "顺序：默认反序", position = 93)
    @Builder.Default
    Boolean desc      = true;
    @ApiModelProperty(value = "时间范围查询条件-起始", position = 94)
    Long    createTimeStart;
    @ApiModelProperty(value = "时间范围查询条件-结束", position = 95)
    Long    createTimeEnd;
}